//
//  CommonTool.h
//  KuWoCan
//
//  Created by hwd on 17/3/16.
//  Copyright © 2017年 hwd. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CommonTool : NSObject

+ (UIViewController *)getCurrtenViewCtrWithView:(id)view;

+ (BOOL) isEmpty:(NSString *) str;

+ (NSString *)flattenHTML:(NSString *)string;

//检测是否是无效空字符串
+ (BOOL)checkStringIsEmpty:(NSString *)str;

+ (NSString *)beJsonStrWithObj:(id)obj;

//获取当前VC的上个VC
+ (UIViewController *)getLastViewControllerWithCurrentViewController:(UIViewController *)currentVC;


@end
